{% extends "layout.html.twig" %}
{% form_theme form_group 'AcmeAdminBundle:Form:fields.html.twig' %}
{% form_theme form_parameter 'AcmeAdminBundle:Form:fields.html.twig' %}
{% form_theme form_value 'AcmeAdminBundle:Form:fields.html.twig' %}
{% block content %}
		<div class="statistic-overview">
			<h2>Statistic übersicht</h2>
			
			<div class="row">
				<div class="col-md-4">
					<strong>Gruppen</strong>
				</div>
				<div class="col-md-4">
					{{ form_start(form_group, { 'action': path('set_statistic_group'), 'attr': { 'id': 'form-statistic-group'  }} ) }}
				
			        {{ form_errors(form_group.name) }}
			        {{ form_widget(form_group.name) }}
			        
			        {{ form_end(form_group) }}
				</div>
				<div class="col-md-4">
					&nbsp;
				</div>
			</div>
			<div class="row">
				<div class="col-md-4">
					<strong>Parameter</strong>
				</div>
				<div class="col-md-4">
					{{ form_start(form_parameter, { 'action': path('set_statistic_parameter'), 'attr': { 'id': 'form-statistic-parameter'  }} ) }}
				
			        {{ form_errors(form_parameter.name) }}
			        {{ form_widget(form_parameter.name) }}
			        
			        {{ form_end(form_parameter) }}
				</div>
				<div class="col-md-4">
					&nbsp;
				</div>
			</div>
			<div class="row">
				<div class="col-md-4">
					<strong>Werte</strong>
				</div>
				<div class="col-md-4">
					{{ form_start(form_parameter, { 'action': path('set_statistic_value'), 'attr': { 'id': 'form-statistic-value'  }} ) }}
				
			        {{ form_errors(form_value.name) }}
			        {{ form_widget(form_value.name) }}

			        {{ form_errors(form_value.value) }}
			        {{ form_widget(form_value.value) }}
			        
			        {{ form_end(form_value) }}
				</div>
				<div class="col-md-4">
					&nbsp;
				</div>
			</div>
		</div>
			
{% endblock %}			